import request from '@/utils/request.js'

// 新增消防描点
export function addiFreControlPoint(data){
    return request ({
        url:"/business/fireControlPoint",
        method:"post",
        data:data
    })
}

// 修改消防描点
export function updateFireControlPoint(data){
    return request({
        url:"/business/fireControlPoint",
        method:"put",
        data:data
    })
}
// 删除消防描点
export function delFireControlPoint(data){
    return request({
        url:"/business/fireControlPoint",
        method:"delete",
        data:data
    })
}
// 查看指定消防描点信息
export function getFireControlPoint(id){
    return request({
        url:"/business/fireControlPoint/"+ id,
        method:"get"
    })
}
// 查询消防描点列表
export function getFireControlPointList(query){
    return request({
        url:"/business/fireControlPoint/list",
        method:"get",
        params:query
    })
}